package com.lakeworks.service;

import com.alibaba.fastjson.JSONObject;
import com.lakeworks.common.core.domain.AjaxResult;
import com.lakeworks.domain.vo.WechatUserInfo;

import javax.servlet.http.HttpServletRequest;

/**
 * @Author: Auxps
 * @Date: 2023/2/20
 * Description:
 */
public interface IWechatOAuth2Service {

    AjaxResult login(WechatUserInfo wechatUserInfo);

    JSONObject userInfo(String code);

    String token(HttpServletRequest request);

}
